package mspbots.tsheets.business.core.tsheetuser;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(value = "tsheet_user")
public class TSheetUser implements Serializable {

    @Id
    private Long id;
    private Long tenantCode;
    private Long sheetUserId;
    private String firstName;
    private String lastName;
    private String email;
    private String username;
    private Boolean active;
    private LocalDateTime lastModified;
    private LocalDateTime created;
    private LocalDateTime syncTime;
}
